package com.nation.dao;

import com.nation.domain.TNationInfo;
import com.nation.domain.VPoliticsAndMilitary;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * Created by dqd on 2017/11/3.
 */
@Repository
public interface PoliticDao {
    public List<VPoliticsAndMilitary> findAllPolitic();

    public VPoliticsAndMilitary findByCountryCode(String country_code);

    public Boolean updatePolitic(VPoliticsAndMilitary VPoliticsAndMilitary);

    public List<VPoliticsAndMilitary> findPoliticByLimit(Map<String,Object> map);

    public Boolean insert(VPoliticsAndMilitary VPoliticsAndMilitary);

    public List<VPoliticsAndMilitary> findByCondition(Map<String,Object> map);

    public Boolean delete(String pk);
}
